
    <include file="Public/header"/> 
                <link rel="stylesheet" type="text/css" href="__PUBLIC__/lib/css/jquery.datetimepicker.css"/>
                <script src="__PUBLIC__/lib/js/jquery.datetimepicker.js"></script>


                <!-- start: Content -->
                <div id="content" class="span10">
                  <!--面包屑开始-->
                    <ul class="breadcrumb">
                        <li>
                            <i class="icon-home"></i>
                            <a href="index.html">主页</a> 
                            <i class="icon-angle-right"></i>
                        </li>
                        <li><a href="#">答题人管理</a></li>
                    </ul>
                 <!--面包屑结束-->
                 
                 <!--内容区域开始-->
                    <div class="row-fluid">		
                        <div class="box span12">
                            <div class="box-header" data-original-title>
                                <h2><i class="halflings-icon user"></i><span class="break"></span>{$Think.session.user.user_name} </h2>
                                <div style="margin: -9px  0 0 50px;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>时间:</strong>
                             
                                <input type='text' id="datetimepicker8"  name = "date"> <strong>～～</strong>
                                <input type='text' id="datetimepicker9" name = "date">
                                <button value="" id= "search" style="margin: -8px 0 0 0;">查询</button></div>
                                <div class="box-icon">
                                    <a href="#" class="btn-setting"><i class="halflings-icon plus"></i></a>
                                 
                                    <a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
                                </div>
                            </div>
                            <div class="box-content">
                                <table class="table table-striped table-bordered">
                                    <thead>
                                        <tr>
                                           <th>答题人ID</th>
                                            <th>答题人</th>
                                            <th>答题人电话</th>
                                            <th>答题科目</th>
                                            <th>答题时间</th>
                                        </tr>
                                    </thead>   
                                    <tbody>
                                        <volist name="list" id="vo"> 
                                        <tr>
                                            <td class="center column_name">{$vo.id}</td>
                                            <td class="center column_name">{$vo.member_name}</td>
                                            <td class="center column_link">{$vo.phone}</td>
                                             <td class="center column_link">{$vo.name}</td>  
                                            <td class="center column_link">{$vo.date}</td>
                                            <td>
                                                <a class="btn btn-danger" href="__APP__/Home/Grade/delete?id={$vo.id}" onClick="return confirm('确认要删除？');" >
                                                    <i class="halflings-icon white trash"></i> 
                                                </a>
                                                <a href="__APP__/Home/Grade/look_grade?uid={$vo.id}&sid={$vo.sid}" class="btn btn-warning" data-rel="popover">查看考试成绩</a>
                                                <a href="__APP__/Home/Note/?name={$vo.member_name}" class="btn btn-warning" style="background: green" data-rel="popover">备注</a>
                                                </td>
                                        </tr>
                                        </volist>
                                    </tbody>
                                </table>            
                            </div>
                        <div class="pagination"> 
                        {$page}
                        </div>
                        </div><!--/span-->
                      
                    </div><!--/row-->
        
   
  
                
<script type="text/javascript">
     $('#datetimepicker8').datetimepicker({
         timepicker:false,//显示时间
         format:'Y-m-d' //日期格式
    });
    $('#datetimepicker9').datetimepicker({
        timepicker:false, //显示时间
        format:'Y-m-d' //日期格式
    });
    $('#search').click(function(){
       var  start_time = $('#datetimepicker8').val();
       var  end_time = $('#datetimepicker9').val();
       if(start_time == "" || end_time==""){
             alert("请输入时间");
       }else{
          var url = "__APP__/Home/Grade/search/start_time/"+start_time+"/end_time/"+end_time;
          window.location.href=url; 
       }
    });
   </script>                      
    <include file="Public/footer"/>             